package com.example.textswitchtestdemo01.activity;

import android.os.Bundle;
import android.util.Log;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.textswitchtestdemo01.R;
import com.example.textswitchtestdemo01.util.InitToolbar;

public class SecondActivity extends AppCompatActivity {
    private static final String TAG = "SecondActivity";
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
        InitToolbar.initToolbar(this, "第二页", false);


        initView();

    }

    private void initView() {
        runOnUiThread(new Runnable() {
            @Override
            public void run() {
                String name = "afsdf";
                Log.d(TAG, "run: "+name);
            }
        });
    }
}
